import './App.css';
import Home from './views/Home';
import FuncCom from './views/FuncCom';
import EventDemo from './views/EventDemo';
import React from 'react';

function App() {
  
  function clickFn(e:React.MouseEvent):void{
    
  }

  return (
    <div className="App">
      <Home name="王义鑫" age={12} sex="男" ></Home>
      <hr/>
      <FuncCom username="柴正盼" timelong={260} ></FuncCom>
      <hr></hr>
      <EventDemo name="hello" click={clickFn}></EventDemo>
    </div>
  );
}

export default App;
